package test.enba.mq.consumer.rabbitmq.topic;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TopicExchangeConfig {

  // 定义队列
  @Bean
  public Queue topicQueueA() {
    return new Queue("topic-queue-a");
  }
}
